package com.hkbigdata.transfer;

import org.apache.flink.streaming.api.datastream.KeyedStream;
import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;

/**
 * @author liuanbo
 * @creat 2024-04-12-17:28
 * @see 2194550857@qq.com
 */
public class Flink05_TransForm_Shuffle_Anonymous {
    public static void main(String[] args) throws Exception {
        StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();
        env.setParallelism(1);
        env.fromElements(1, 3, 4, 5, 6)
                .shuffle()
                .print();
        env.execute();
    }
}
